package cn.yougou.serviceImpl;

import cn.yougou.dto.Query;
import cn.yougou.mapper.YgSlishowMapper;
import cn.yougou.pojo.YgSlideshow;
import cn.yougou.service.shopcart.YgSlideshowService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @auth 韩帅锋
 * @date 2021/1/13 14:45
 */
@Service
public class YgAdminSlideshowServiceimpl implements YgSlideshowService {
    @Autowired
    private YgSlishowMapper ygSlishowMapper;

    @Override
    public int selCount(Query query) {
        return ygSlishowMapper.selCount(query);
    }

    @Override
    public List<YgSlideshow> queryAll(YgSlideshow ygSlideshow) {
        return null;
    }

    @Override
    public List<YgSlideshow> queryLimit(Query query) {
        return ygSlishowMapper.queryLimit(query);
    }
}
